package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.R;
import com.itheima.entity.Orders;

public interface OrderService extends IService<Orders> {
 public void submit(Orders orders);
 /**
  * 订单分页查询
  * @param page
  * @param pageSize
  * @return
  */
 public R<Page> OrdersByPages(long page, long pageSize, Long number);
 /**
  * 订单派送
  * @param orders
  */
 public void updateStatus(Orders orders);
 /**
  * 订单分页查询
  * @param page
  * @param pageSize
  * @return
  */
 public R<Page> OrdersByPages(long page, long pageSize);

 /**
  * 再来一单
  * @param orders
  */
 public void again(Orders orders);

}